#pragma once
#include "DataStructure/Common/DataStructureNamespace.h"
#include "DataStructure/Common/Id.h"

SG_DATASTRUCTURE_FEM_NAMESPACE_OPEN
/** @brief 载荷基类
 *
 * 提供载荷计算部分的共有部分
 */
struct DECLSPEC SetBase
{
    SetBase () = default;

    SetBase (SG::DataStructure::Common::Id id) : m_sId (id)
    {}

    SG::DataStructure::Common::Id m_sId = 0;
};

inline bool operator< (const SetBase& var1, const SetBase& var2)
{
    return var1.m_sId < var2.m_sId;
}

SG_DATASTRUCTURE_FEM_NAMESPACE_CLOSE